package com.ruoyi.bizsys.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 虚拟账号订单对象 ext_monnify_reserved_order
 *
 * @author african-loan
 * @date 2021-07-04
 */
public class ExtMonnifyReservedOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 客户号
     */
    @Excel(name = "客户号")
    private String custNo;

    /**
     * 客户邮箱
     */
    @Excel(name = "客户邮箱")
    private String customerDtoEmail;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String customerDtoName;

    /**
     * 客户代码
     */
    @Excel(name = "客户代码")
    private String customerDtoMerchantCode;

    /**
     * 供应商金额
     */
    @Excel(name = "供应商金额")
    private BigDecimal providerAmount;

    /**
     * 支付方式
     */
    @Excel(name = "支付方式")
    private String paymentMethod;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String createdOn;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal amount;

    /**
     * flagged
     */
    @Excel(name = "flagged")
    private String flagged;

    /**
     * 供应商代码
     */
    @Excel(name = "供应商代码")
    private String providerCode;

    /**
     * 费用
     */
    @Excel(name = "费用")
    private BigDecimal fee;

    /**
     * 币种
     */
    @Excel(name = "币种")
    private String currencyCode;

    /**
     * 完成时间
     */
    @Excel(name = "完成时间")
    private String completedOn;

    /**
     * 支付备注
     */
    @Excel(name = "支付备注")
    private String paymentDescription;

    /**
     * 支付状态
     */
    @Excel(name = "支付状态")
    private String paymentStatus;

    /**
     * 第三方订单号
     */
    @Excel(name = "第三方订单号")
    private String transactionReference;

    /**
     * 内部订单号
     */
    @Excel(name = "内部订单号")
    private String paymentReference;

    /**
     * 商户码
     */
    @Excel(name = "商户码")
    private String merchantCode;

    /**
     * 商户名称
     */
    @Excel(name = "商户名称")
    private String merchantName;

    /**
     * 应付金额
     */
    @Excel(name = "应付金额")
    private BigDecimal payableAmount;

    /**
     * 实付金额
     */
    @Excel(name = "实付金额")
    private BigDecimal amountPaid;

    /**
     * 是否完成
     */
    @Excel(name = "是否完成")
    private String completed;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String state;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }

    public String getCustNo() {
        return custNo;
    }

    public void setCustomerDtoEmail(String customerDtoEmail) {
        this.customerDtoEmail = customerDtoEmail;
    }

    public String getCustomerDtoEmail() {
        return customerDtoEmail;
    }

    public void setCustomerDtoName(String customerDtoName) {
        this.customerDtoName = customerDtoName;
    }

    public String getCustomerDtoName() {
        return customerDtoName;
    }

    public void setCustomerDtoMerchantCode(String customerDtoMerchantCode) {
        this.customerDtoMerchantCode = customerDtoMerchantCode;
    }

    public String getCustomerDtoMerchantCode() {
        return customerDtoMerchantCode;
    }

    public void setProviderAmount(BigDecimal providerAmount) {
        this.providerAmount = providerAmount;
    }

    public BigDecimal getProviderAmount() {
        return providerAmount;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setCreatedOn(String createdOn) {
        this.createdOn = createdOn;
    }

    public String getCreatedOn() {
        return createdOn;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setFlagged(String flagged) {
        this.flagged = flagged;
    }

    public String getFlagged() {
        return flagged;
    }

    public void setProviderCode(String providerCode) {
        this.providerCode = providerCode;
    }

    public String getProviderCode() {
        return providerCode;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCompletedOn(String completedOn) {
        this.completedOn = completedOn;
    }

    public String getCompletedOn() {
        return completedOn;
    }

    public void setPaymentDescription(String paymentDescription) {
        this.paymentDescription = paymentDescription;
    }

    public String getPaymentDescription() {
        return paymentDescription;
    }

    public void setPaymentStatus(String paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public String getPaymentStatus() {
        return paymentStatus;
    }

    public void setTransactionReference(String transactionReference) {
        this.transactionReference = transactionReference;
    }

    public String getTransactionReference() {
        return transactionReference;
    }

    public void setPaymentReference(String paymentReference) {
        this.paymentReference = paymentReference;
    }

    public String getPaymentReference() {
        return paymentReference;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setPayableAmount(BigDecimal payableAmount) {
        this.payableAmount = payableAmount;
    }

    public BigDecimal getPayableAmount() {
        return payableAmount;
    }

    public void setAmountPaid(BigDecimal amountPaid) {
        this.amountPaid = amountPaid;
    }

    public BigDecimal getAmountPaid() {
        return amountPaid;
    }

    public void setCompleted(String completed) {
        this.completed = completed;
    }

    public String getCompleted() {
        return completed;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("custNo", getCustNo())
                .append("customerDtoEmail", getCustomerDtoEmail())
                .append("customerDtoName", getCustomerDtoName())
                .append("customerDtoMerchantCode", getCustomerDtoMerchantCode())
                .append("providerAmount", getProviderAmount())
                .append("paymentMethod", getPaymentMethod())
                .append("createdOn", getCreatedOn())
                .append("amount", getAmount())
                .append("flagged", getFlagged())
                .append("providerCode", getProviderCode())
                .append("fee", getFee())
                .append("currencyCode", getCurrencyCode())
                .append("completedOn", getCompletedOn())
                .append("paymentDescription", getPaymentDescription())
                .append("paymentStatus", getPaymentStatus())
                .append("transactionReference", getTransactionReference())
                .append("paymentReference", getPaymentReference())
                .append("merchantCode", getMerchantCode())
                .append("merchantName", getMerchantName())
                .append("payableAmount", getPayableAmount())
                .append("amountPaid", getAmountPaid())
                .append("completed", getCompleted())
                .append("state", getState())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
